projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49ad34e
)
[XEN] Fix 14315
author
Tim Deegan
<Tim.Deegan@xensource.com>
Fri, 9 Mar 2007 12:28:37 +0000
(12:28 +0000)
committer
Tim Deegan
<Tim.Deegan@xensource.com>
Fri, 9 Mar 2007 12:28:37 +0000
(12:28 +0000)
We do need to be able to shadow_enable vcpu-less domains.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
xen/arch/x86/mm/shadow/common.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/shadow/common.c
b/xen/arch/x86/mm/shadow/common.c
index c8829abc2a4ca8b965907e7f415f05d2b6e4b452..4907736299344cf0cec0291d144cf598bd91c685 100644
(file)
--- a/
xen/arch/x86/mm/shadow/common.c
+++ b/
xen/arch/x86/mm/shadow/common.c
@@
-2386,7
+2386,6
@@
int shadow_enable(struct domain *d, u32 mode)
/* Sanity check the arguments */
if ( (d == current->domain) ||
- d->vcpu[0] == NULL ||
shadow_mode_enabled(d) ||
((mode & PG_translate) && !(mode & PG_refcounts)) ||
((mode & PG_external) && !(mode & PG_translate)) )